package com.zhouke.certificate.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 周科
 * @since 2022-04-03
 */
@Data
@TableName("sys_certificates")
public class Certificates implements Serializable {

    private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      private String userId;

      private String name;

      private String sex;

      private String identity;

      private String issuedBy;

      private String certificateName;

      private String certificateNum;

      @JSONField(format = "yyyy-MM-dd HH:mm:ss")
      private Date certificateTime;

      private String certificateLevel;

      private String attachment;

      private String state;

      @JSONField(format = "yyyy-MM-dd HH:mm:ss")
      private Date createTime;


}
